<%@ Page Language="C#" MasterPageFile="~/MP/Classic.master" AutoEventWireup="true"
    CodeFile="AddStyle.aspx.cs" Inherits="ConfigCusto_AddOrDeleteStyle" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageContainer" runat="Server">
    <h2>
        Preferences</h2>
    <p>
        Add styles to your configuration.</p>
    <table>
        <tr>
            <td>
                Name:</td>
            <td>
                <asp:TextBox ID="styleNameTextBox" runat="server"></asp:TextBox>&nbsp;
                <asp:RequiredFieldValidator ID="nameRequiredFieldValidator" runat="server" ErrorMessage="Please enter a name for the style"
                    ControlToValidate="styleNameTextBox">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Url:</td>
            <td>
                <asp:TextBox ID="styleUrlTextBox" runat="server"></asp:TextBox>&nbsp;
                <asp:RequiredFieldValidator ID="urlRequiredFieldValidator" runat="server" ErrorMessage="Please enter a url"
                    ControlToValidate="styleUrlTextBox">*</asp:RequiredFieldValidator>
            </td>
        </tr>
    </table>
    <br />
    <asp:ValidationSummary ID="ValidationSummary" runat="server" />
    <asp:Button ID="AddButton" runat="server" Text="Add Style" OnClick="AddButton_Click" />
</asp:Content>
